package com.newjiabo.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.newjiabo.common.annotation.Excel;
import com.newjiabo.common.core.domain.BaseEntity;

/**
 * 行政地区对象 sys_region
 *
 * @author CaoMengHui
 * @date 2023-09-18
 */
public class SysRegion extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private String id;

    /**
     * 删除标志 true/false 删除/未删除
     */
    @Excel(name = "删除标志 true/false 删除/未删除")
    private Boolean deleteFlag;

    /**
     * 区域编码
     */
    @Excel(name = "区域编码")
    private String adCode;

    /**
     * 区域中心点经纬度
     */
    @Excel(name = "区域中心点经纬度")
    private String center;

    /**
     * 城市代码
     */
    @Excel(name = "城市代码")
    private String cityCode;

    /**
     * 行政区划级别
     */
    @Excel(name = "行政区划级别")
    private String level;

    /**
     * 名称
     */
    @Excel(name = "名称")
    private String name;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Long orderNum;

    /**
     * 父ID
     */
    @Excel(name = "父ID")
    private String parentId;

    /**
     * 行政地区路径
     */
    @Excel(name = "行政地区路径")
    private String path;


    public Boolean getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Boolean deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public void setAdCode(String adCode) {
        this.adCode = adCode;
    }

    public String getAdCode() {
        return adCode;
    }

    public void setCenter(String center) {
        this.center = center;
    }

    public String getCenter() {
        return center;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getLevel() {
        return level;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setOrderNum(Long orderNum) {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() {
        return orderNum;
    }


    public void setPath(String path) {
        this.path = path;
    }

    public String getPath() {
        return path;
    }

    @Override
    public String toString() {
        return "SysRegion{" +
                "id=" + id +
                ", deleteFlag=" + deleteFlag +
                ", adCode='" + adCode + '\'' +
                ", center='" + center + '\'' +
                ", cityCode='" + cityCode + '\'' +
                ", level='" + level + '\'' +
                ", name='" + name + '\'' +
                ", orderNum=" + orderNum +
                ", parentId=" + parentId +
                ", path='" + path + '\'' +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }
}
